<?php 

$sql = 'UPDATE `products` SET `products_price`=? WHERE `products_id` =?';
$eintrag = $db->prepare( $sql );
$eintrag->bind_param('dd', $price[$i], $id[$i]);
$eintrag->execute();


?>